package com.treeroot.uploadservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Description:
 * @Author:treeRoot
 * @Email:553503639@qq.com
 * @Date: Create in 13:46 / 2022/5/5
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableDiscoveryClient   //nacos注册
@ComponentScan(basePackages = {"com.treeroot"})
public class UploadApplication {
    public static void main(String[] args)
    {
        SpringApplication.run(UploadApplication.class,args);
    }
}
